package com.changgou.comment.feign;
import com.changgou.comment.pojo.Comment;
import com.github.pagehelper.PageInfo;
import entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

/****
 * @Author:shenkunlin
 * @Description:
 * @Date 2019/6/18 13:58
 *****/
@FeignClient(name="comment")
@RequestMapping(value = "/comment")
public interface CommentFeign {

    /**
     * 根据Skuid查询当前商品的所有评价
     */
    @GetMapping(value = "/findbyskuid/{spuid}")
    Result<List> findPageBySkuid(@PathVariable(value = "spuid") Long spuid);



}